﻿
namespace LFSRecord2.Misc
{
    public static class LfsHelper
    {
        public const double LfsDegMult = 32768.0f / 180.0f;

        public static string ShortToLongTrack(string shortTrack)
        {
            string longTrack = "";
            switch (shortTrack.Substring(0, 2))
            {
                case "BL":
                    longTrack = "Blackwood";
                    break;
                case "SO":
                    longTrack = "South City";
                    break;
                case "FE":
                    longTrack = "Fern Bay";
                    break;
                case "AU":
                    longTrack = "Autocross";
                    break;
                case "WE":
                    longTrack = "Westhill";
                    break;
                case "KY":
                    longTrack = "Kyoto Ring";
                    break;
                case "AS":
                    longTrack = "Aston";
                    break;
            }
            return longTrack;
        }
    }
}
